-- GENERATED SPELL FOR [Ley-Keeper Velania] --


function spell0_15401(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(20811,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15401', 3000, 1)
end

function Sorts_15401(pUnit, Event)
local choix_sorts_15401 = math.random(0, 0)
if choix_sorts_15401 == 0 then
pUnit:RegisterEvent('spell0_15401', 1, 1)
end
end

function mob15401_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15401', math.random(1500, 3000), 1)
end

function mob15401_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15401_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15401_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15401, 1, 'mob15401_Action')
RegisterUnitEvent(15401, 2, 'mob15401_Leave')
RegisterUnitEvent(15401, 3, 'mob15401_Kill')
RegisterUnitEvent(15401, 4, 'mob15401_Die')
